Imports System.ServiceModel

<DataContract()> _
Public Class IntegerType
    Private _integer As Integer
    Private _error As String

    <DataMember()> _
    Public Property IntegerValue() As Integer
        Get
            Return _integer
        End Get
        Set(ByVal value As Integer)
            _integer = value
        End Set
    End Property

    <DataMember()> _
    Public Property ErrorMessage() As String
        Get
            Return _error
        End Get
        Set(ByVal value As String)
            _error = value
        End Set
    End Property
End Class